﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HCD.Entities
{
    public class DrugDictV
    {
        /// <summary>
        /// 药品代码
        /// </summary>
        [Column("DRUG_CODE", TypeName = "NUMBER")]
        public decimal DrugCode { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        [Column("DRUG_NAME", TypeName = "VARCHAR(20)")]
        public string DrugName { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [Column("DRUG_SPEC", TypeName = "VARCHAR(20)")]
        public string DrugSpec { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [Column("UNITS", TypeName = "VARCHAR(20)")]
        public string Units { get; set; }

        /// <summary>
        /// 厂家标识
        /// </summary>
        [Column("FIRM_ID", TypeName = "NUMBER")]
        public decimal FirmId { get; set; }

        /// <summary>
        /// 最小单位剂量
        /// </summary>
        [Column("DOSE_PER_UNIT", TypeName = "NUMBER")]
        public decimal DosePerUnit { get; set; }

        /// <summary>
        /// 剂量单位
        /// </summary>
        [Column("DOSE_UNITS", TypeName = "VARCHAR(20)")]
        public string DoseUnits { get; set; }

        /// <summary>
        /// 药品类别标志
        /// </summary>
        [Column("DRUG_INDICATOR", TypeName = "INT")]
        public int DrugIndicator { get; set; }

        /// <summary>
        /// 输入码
        /// </summary>
        [Column("INPUT_CODE", TypeName = "VARCHAR(20)")]
        public string InputCode { get; set; }

        /// <summary>
        /// 频次
        /// </summary>
        [Column("FREQUENCY", TypeName = "VARCHAR(60)")]
        public string Frequency { get; set; }

        /// <summary>
        /// 途径
        /// </summary>
        [Column("ADMINISTRATION", TypeName = "VARCHAR(60)")]
        public string Administration { get; set; }

        /// <summary>
        /// 药品说明
        /// </summary>
        [Column("MEMOS", TypeName = "VARCHAR(200)")]
        public string Memos { get; set; }

        /// <summary>
        /// 院区代码
        /// </summary>
        [Column("HOSPITAL_CODE", TypeName = "VARCHAR(60)")]
        public string HospitalCode { get; set; }
    }
}
